package com.example.forum.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel(value="委任用户")
public class DoAppoint implements Serializable {

    @NotBlank(message = "改用户不存在")
    @ApiModelProperty(value="被操作的用户ID")
    private String appUserId;

    @NotBlank(message = "角色不能为空")
    @ApiModelProperty(value="角色名")
    private String role;

    @NotBlank(message = "状态不能为空")
    @ApiModelProperty(value="委任状态")
    private Integer appointStatus;
}
